Total Complexity | 17 |
Dependencies | 3 |
Dependents | 1 |
Total lines | 113 |
Lines of code | 77 |
Logical lines of code | 30 |
Comment lines | 0 |
Methods | 9 |
Properties | 5 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
response() | 49 | 7 | 32 | |
post() | 65 | 2 | 10 | |
set_api_endpoint() | 74 | 2 | 5 | |
__construct() | 73 | 1 | 5 | |
get_api_url() | 82 | 1 | 3 | |
get_headers() | 69 | 1 | 7 | |
set_api_accept_type() | 81 | 1 | 3 | |
set_api_content_type() | 81 | 1 | 3 | |
maybe_log_response() | 69 | 1 | 9 |